/**
 * Copyright© 2003-2019 浙江汇信科技有限公司, All Rights Reserved. <br/>
 */
package com.icinfo.cloud.provider.punish.common.publicity.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 描述: 公示记录表 case_publicity_modify_record 对应的实体类.<br>
 * WARNING：不是表中字段的属性必须加@Transient注解
 *
 * @author framework generator
 * @date 2022年10月13日
 */
@Data
@Table(name = "upcase.case_publicity_modify_record")
public class CasePublicityModifyRecord implements Serializable {
    /**
     * 主键id
     */
    @Id
    @Column(name = "id")
    private String id;

    /**
     * 案件id
     */
    @Column(name = "case_id")
    private String caseId;

    /**
     * 当事人id
     */
    @Column(name = "party_id")
    private String partyId;

    /**
     * 公示操作类别：0 初次操作 1更正 2撤销
     */
    @Column(name = "operate_type")
    private String operateType;

    /**
     * 公示状态：0.不公示，1.公示
     */
    @Column(name = "publicity_status")
    private String publicityStatus;

    /**
     * 公示内容
     */
    @Column(name = "publicity_content")
    private String publicityContent;

    /**
     * 不公示备注说明
     */
    @Column(name = "no_publicity_remark")
    private String noPublicityRemark;

    /**
     * 不公示原因
     */
    @Column(name = "no_publicity_reason")
    private String noPublicityReason;

    /**
     * 公示变更原因
     */
    @Column(name = "modify_reason")
    private String modifyReason;

    /**
     * 公示变更说明
     */
    @Column(name = "modify_desc")
    private String modifyDesc;

    /**
     * 关联文书id
     */
    @Column(name = "document_id")
    private String documentId;

    /**
     * 创建时间
     */
    @Column(name = "create_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;
    /**
     * 是否删除 0：1
     */
    @Column(name = "is_delete")
    private String isDelete;

    /**
     * 数据上报记录id（公示成功）
     */
    @Column(name = "party_name")
    private String partyName;

    /**
     * 当事人类别
     */
    @Column(name = "party_type")
    private String partyType;
    /**
     * 公示提交日期
     */
    @Column(name = "publicity_submit_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime publicitySubmitTime;    /**
     * 公示提交日期
     */
    @Column(name = "punish_document_number")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private String punishDocumentNumber;
    /**
     * 当事人类别
     */
    @Column(name = "status")
    private String status;
    /**
     * 数据上报id
     */
    @Column(name = "data_report_record_id")
    private String dataReportRecordId;

    private static final long serialVersionUID = 1L;

}
